package com.ylsk.check.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;
import com.ylsk.common.core.domain.BaseEntity;

/**
 * 整改上报对象 ins_rectification_report
 *
 * @author yangsy
 * @date 2023-12-25
 */
@TableName("ins_rectification_report")
public class RectificationReport extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题整改上报id */
    @TableId
    private Long rectificationReportId;

    /** 施工报备id */
    @Excel(name = "施工报备id")
    private Long reportInfoId;

    /** 检查问题id */
    @Excel(name = "检查问题id")
    private Long checkProblemId;

    /** 整改描述 */
    @Excel(name = "整改描述")
    private String rectificationRemark;

    /** 整改照片和视频 */
    @Excel(name = "整改照片和视频")
    private Long rectificationFileId;

    /** 负责人 */
    @Excel(name = "负责人")
    private Long head;

    /** 整改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rectificationTime;

    /** 经度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal longitude;

    /** 纬度 */
    @TableField(fill = FieldFill.INSERT)
    private BigDecimal latitude;

    /** 道路名称 */
    @TableField(fill = FieldFill.INSERT)
    private String roadName;

    /** 方向 */
    @TableField(fill = FieldFill.INSERT)
    private String direction;

    /** 所属大队 */
    private Long deptId;

    /** 审核人 */
    private Long reviewedBy;

    public void setRectificationReportId(Long rectificationReportId)
    {
        this.rectificationReportId = rectificationReportId;
    }

    public Long getRectificationReportId()
    {
        return rectificationReportId;
    }
    public void setReportInfoId(Long reportInfoId)
    {
        this.reportInfoId = reportInfoId;
    }

    public Long getReportInfoId()
    {
        return reportInfoId;
    }
    public void setCheckProblemId(Long checkProblemId)
    {
        this.checkProblemId = checkProblemId;
    }

    public Long getCheckProblemId()
    {
        return checkProblemId;
    }
    public void setRectificationRemark(String rectificationRemark)
    {
        this.rectificationRemark = rectificationRemark;
    }

    public String getRectificationRemark()
    {
        return rectificationRemark;
    }
    public void setRectificationFileId(Long rectificationFileId)
    {
        this.rectificationFileId = rectificationFileId;
    }

    public Long getRectificationFileId()
    {
        return rectificationFileId;
    }
    public void setHead(Long head)
    {
        this.head = head;
    }

    public Long getHead()
    {
        return head;
    }
    public void setRectificationTime(Date rectificationTime)
    {
        this.rectificationTime = rectificationTime;
    }

    public Date getRectificationTime()
    {
        return rectificationTime;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setRoadName(String roadName)
    {
        this.roadName = roadName;
    }

    public String getRoadName()
    {
        return roadName;
    }
    public void setDirection(String direction)
    {
        this.direction = direction;
    }

    public String getDirection()
    {
        return direction;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setReviewedBy(Long reviewedBy)
    {
        this.reviewedBy = reviewedBy;
    }

    public Long getReviewedBy()
    {
        return reviewedBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rectificationReportId", getRectificationReportId())
            .append("reportInfoId", getReportInfoId())
            .append("checkProblemId", getCheckProblemId())
            .append("rectificationRemark", getRectificationRemark())
            .append("rectificationFileId", getRectificationFileId())
            .append("head", getHead())
            .append("rectificationTime", getRectificationTime())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("roadName", getRoadName())
            .append("direction", getDirection())
            .append("deptId", getDeptId())
            .append("reviewedBy", getReviewedBy())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
